export default [{
    path: "/bookMusic",
    name: "bookMusic",
    
     component: () => import("@/views/bookMusic"),
     meta: {
        setShowFooter: true,
      },
    //  children:[
    //     {
    //     path: "hotListening",
    //     name: "hotListening",
    //     component: () => import("@/views/hotListening"),
    //  },
    // ]
    },
    {
        path: "/bookMusic/hotListening",
        name: "hotListening",
        component: () => import("@/views/hotListening"),
    },
    {
        path: "/bookMusic/popularity",
        name: "popularity",
        component: () => import("@/views/popularity"),
    },
    {
        path: "/bookMusic/anchor",
        name: "anchor",
        component: () => import("@/views/anchor"),
    },
    {
        path: "/bookMusic/free",
        name: "free",
        component: () => import("@/views/free"),
    },
    {
        path: "/bookMusic/finish",
        name: "finish",
        component: () => import("@/views/finish"),
    },
    {
        path:"/drama/:id",
        name: "drama",
        component: () => import("@/views/drama"),
        // props:true
        props:route=>({id:route.params.id?(Number(route.params.id)):0})
    },
    // {
    //     path:"/bookMusic/anchor/drama/:id",
    //     name: "drama",
    //     component: () => import("@/views/drama"),
    //     props:true
    // }

];
